import { Module, forwardRef } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { Project } from "./project.entity";
import { ProjectService } from "./project.service";
import { ProjectController } from "./project.controller";
import { DeptModule } from "src/dept/dept.module";
import { RedisCacheModule } from "src/cache/cache.module";
import { WorkModule } from "src/work/work.module";
import { UserModule } from "src/user/user.module";
import { DeductionModule } from "src/deduction/deduction.module";




@Module({
    imports: [
        TypeOrmModule.forFeature([Project]),
        RedisCacheModule,
        WorkModule,
        UserModule,
        DeductionModule
    ],
    controllers: [ProjectController],
    providers: [ProjectService],
    exports: [ProjectService]
})
export class ProjectModule { }